package o;

import android.content.Context;
import com.huawei.appgallery.agreementimpl.impl.bean.QueryAgrReqBean;
import com.huawei.appgallery.agreementimpl.impl.bean.QueryAgrReqInfo;
import java.util.ArrayList;
import java.util.List;
import o.axa.a;

public class axm extends cvs {
    public static final String APIMETHOD = "client.queryAgreementV2";
    private static final String GREY_KEY_WORD = "hiapp 10.2.1";
    private QueryAgrReqBean request_ = new QueryAgrReqBean();

    public axm() {
        setMethod_(APIMETHOD);
        setStoreApi("clientApi");
        List arrayList = new ArrayList();
        QueryAgrReqInfo queryAgrReqInfo = new QueryAgrReqInfo();
        queryAgrReqInfo.ˏ(ContentManager.getInstant().getContext().getResources().getInteger(a.ˎ));
        Context ˋ = ContentManager.getInstant().getContext();
        queryAgrReqInfo.ॱ(axh.ˊ(ˋ));
        QueryAgrReqInfo queryAgrReqInfo2 = new QueryAgrReqInfo();
        queryAgrReqInfo2.ˏ(ContentManager.getInstant().getContext().getResources().getInteger(a.ˊ));
        queryAgrReqInfo2.ॱ(axh.ˏ(ˋ));
        if ("com.huawei.appmarket".equals(fis.ˎ().getPackageName())) {
            List arrayList2 = new ArrayList();
            arrayList2.add(GREY_KEY_WORD);
            queryAgrReqInfo.ॱ(arrayList2);
            queryAgrReqInfo2.ॱ(arrayList2);
        }
        arrayList.add(queryAgrReqInfo);
        arrayList.add(queryAgrReqInfo2);
        this.request_.ˏ(arrayList);
    }

    public QueryAgrReqBean ˋ() {
        return this.request_;
    }
}
